home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Re: How to the size of a file in C ?
- Date: 11 Feb 1996 12:02:36 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4fklss$oef@news1.usa.pipeline.com>
- References: <4fgo5q$4fl@news.tdl.com>
- NNTP-Posting-Host: pipe10.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Feb 10, 1996 00:16:58 in article <Re: How to the size of a file in C ?>,
- 'twod@tdl.com (Ian Parkin)' wrote:
-
-
- >Ain't 'stat' the way to go on this ?
-
- I could be -- except for portability. I don't have the ANSI C
- standard handy, but according to Borland 4.52 on-line docs,
- stat isn't ANSIcompatible. It's not even portable across
- compilers on the same platform. On MSVC++4.0 -- a very
- popular compiler -- it's _stat, _wstat, _stati64, or _wstati64.
-
- --
- Pete Grant
- Kalevi, Inc.
- Object Oriented Software Development
-